/*
 * Wire
 * Copyright (C) 2018 Wire Swiss GmbH
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see http://www.gnu.org/licenses/.
 *
 */

.preferences-page {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.preferences-titlebar {
  .label-bold-xs;
  align-items: center;
  background-color: @app-bg;
  border-bottom: 1px solid fade(@graphite, 12%);
  display: flex;
  height: @content-title-bar-height;
  justify-content: center;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
}

.preferences-content-wrapper {
  width: 100%;
  flex: 1 1 auto;
}

.preferences-content {
  color: @graphite-dark;
  height: 100%;
  min-width: 560px;
  overflow-x: hidden;
  padding: 32px 32px 32px 72px;
  position: absolute;
  width: 100%;
}

.preferences-button {
  margin-top: 8px;
}

.preferences-detail {
  color: @graphite;
  font-size: @font-size-xs;
  height: 16px;
  line-height: @line-height-sm;
  width: 380px;
}

.preferences-detail-emoji {
  display: flex;
  align-items: center;
  white-space: pre;
}

.preferences-header {
  .label-bold-xs;
  line-height: @line-height-sm;
  margin-bottom: 16px;
}

.preferences-hint {
  color: @graphite;
}

.preferences-label {
  color: @graphite-dark;
}

.preferences-info {
  line-height: @line-height-lg;
  width: 400px;
}

.preferences-link {
  display: block;
  font-size: @font-size-sm;
  line-height: @line-height-xl;
  cursor: pointer;
}

.preferences-option {
  display: flex;
  margin-bottom: 16px;
}

.preferences-option-pointer {
  cursor: pointer;
}

.preferences-option-icon {
  font-size: @font-size-sm;
  height: @line-height-sm;
  line-height: @line-height-sm;
  margin: 0 0 0 -34px;
  padding-right: 18px;

  div,
  svg {
    display: inline;
    width: @line-height-sm;
    height: @line-height-sm;
  }
}

.preferences-option-label {
  cursor: pointer;
  display: inline;
  height: @line-height-sm;
  line-height: @line-height-sm;
}

.preferences-section {
  margin-bottom: 32px;
  width: 560px;
}

.preferences-separator {
  background: @seperator-color;
  border: 0;
  height: 1px;
  margin: 0;
}
